var re = require('../utils/request.js')
var request = re.request
module.exports = {
  // 获取验证码
  getSmsCode (params) {
    const url = '/sxx/xuas/XuserBasicMS/referral/admin/sendSms'
    return request({url, params, method: 'GET'})
  },
  // 用户登录
  userLogin (params) {
    const url = '/sxx/xuas/XuserBasicMS/referral/admin/login'
    return request({url, params})
  },
  // 退出登录
  userLogout (params) {
    const url = '/sxx/xuas/XuserBasicMS/referral/admin/logout'
    return request({url, params})
  }
}

